package it.polimi.swKnights.SWIMv2.ejb.personalData;

import it.polimi.swKnights.SWIMv2.ejb.exceptions.InvalidLoginPrivilegesException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.LoginFailException;

import java.util.Map;

import javax.ejb.Remote;

@Remote
public interface UserFinderRemote extends UserFinderRoot
{
	Map<String, String> getUserRefereces(String user, String password,
			String userToGet) throws LoginFailException,
			InvalidLoginPrivilegesException;

	Map<String, String> getUserRefereces(String userName);

	boolean isPublicUser(String userName);
}
